import { Module } from '@nestjs/common';
import { OssFileService } from './oss-file.service';
import { OssFileController } from './oss-file.controller';
import { MulterModule } from "@nestjs/platform-express";

@Module({
  controllers: [OssFileController],
  providers: [OssFileService],
  exports: [OssFileService],
  imports: [
       MulterModule.register({
         dest: './uploads', // 指定文件上传的临时目录
       }),
     ],
})
export class OssFileModule {}
